<?php
abstract class Controller
{
	function __construct()
	{
		// TODO
	}
	
	function remap($action)
	{
		$action_name = 'action_' . $action ;
		if(method_exists($this, $action_name))
		{
			call_user_func(array($this, $action_name));
		}
		else
		{
			// TODO
		}
	}
	
}